<?php

namespace app\company\model;

use app\common\model\BaseModel;

class ArticleCategories extends BaseModel
{
    protected $table = 'vk_article_categories';
    protected $hidden = ['create_time', 'update_time'];

    public function article()
    {
        return $this->hasMany(Articles::class, 'article_category_id', 'id');
    }
}